<?php
namespace app\admin\controller\member;

use app\admin\controller\Controller;
use app\admin\model\User as UserModel;

class User extends Controller
{

    // 用户详细
    public function detail()
    {
       // 实例化后台用户数据表
       $model =  new UserModel;
       // 获取用户详细
       $userInfo = $model->detail($this->request->param('user_id'));
       // 返回    
       return $this->renderSuccess($userInfo);
    }
    

}